/**
 * 
 */
package com.pactera.android.activity;

import com.pactera.android.R;
import com.pactera.android.version.UpdateManager;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.widget.Toast;

/**
 * @author David Zheng
 *
 */
public class Splash extends Activity {
	
	 private final int SPLASH_DISPLAY_LENGHT = 2000;
	  
	    @Override 
	    public void onCreate(Bundle savedInstanceState) { 
	        super.onCreate(savedInstanceState); 
	        setContentView(R.layout.splash);
	        

	        new Handler().postDelayed(new Runnable(){ 
	  
	         @Override 
	         public void run() {
	             Intent mainIntent = new Intent(Splash.this, FrameActivity.class); 
	             Splash.this.startActivity(mainIntent); 
	                 Splash.this.finish(); 
	         } 
	            
	        }, SPLASH_DISPLAY_LENGHT); 
	    } 
	    
	   

}
